package api.doctor;

import java.io.IOException;
import java.util.HashMap;
import java.util.Map;

import common.Host;
import common.Request;

/**
 * 实现帮忙医医生端获取助理GetAssistants接口调用
 * @author maojj
 *
 */
public class GetAssistants
{
	/**
	 * 实现帮忙医医生端获取助理GetAssistants接口调用
	 * @param doctorID - 医生ID
	 * @return 接口返回数据
	 * @throws IOException 
	 */
	public static String options(String doctorID) throws IOException
	{	
		//拼接接口地址
		String url = Host.getAddress() + "/api/IMSubject/GetAssistants";
		
		//接口参数赋值
		Map<String, String> parms = new HashMap<String, String>();
		parms.put("id", doctorID);
			
		//调用接口并返回接口结果
		String result = Request.options(url, parms);
		return result;	
	}

}
